# Contributor: Dennis Krupenik <dennis@krupenik.com>
# Maintainer: Dennis Krupenik <dennis@krupenik.com>
pkgname=inxi
pkgver=3.1.04
_pkgver="$pkgver"-1
pkgrel=0
pkgdesc="Fully featured CLI system information tool"
options="!check" # no upstream tests
url="https://github.com/smxi/inxi"
arch="noarch"
license="GPL-3.0-or-later"
depends="perl"
subpackages="$pkgname-doc"
source="https://github.com/smxi/inxi/archive/$_pkgver/inxi-$_pkgver.tar.gz"
builddir="$srcdir/inxi-$_pkgver"

package() {
	install -Dm0755 inxi -t "$pkgdir"/usr/bin
	install -Dm0644 inxi.1 -t "$pkgdir"/usr/share/man/man1
}

sha512sums="57486b6303fac20069a2f967f5d5cc47657dae921576d1f47b9cea12ddc1cfee3c77d74e74b43c40c94b61488c41a80f1cd74f21b3af6751868ea67036c3ce2f  inxi-3.1.04-1.tar.gz"
